package recursos

case class AireAcondicionado(val fgs:Int, val frio:Boolean,val calor:Boolean) extends Recurso {
	  
  override def esIgualOSuperiorA(aireAcond:Recurso):Boolean ={
    aireAcond match{
      case AireAcondicionado(fg,fr,cl) => this.fgs >= fg && this.frio == fr && this.calor == cl
      case _ => false
    }
  }
}